home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
58606
/
58606.xpi
/
chrome
/
translator.jar
/
skin
/
classic
/
translator.css
< prev
Wrap
Cascading Style Sheet File
|
2010-01-19
|
3KB
|
121 lines
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/**
* general rules
*************************************/
.translator-button {
margin: 1px;
}
/**
* icons
*************************************/
#translator-toolbarbutton {
list-style-image: url("chrome://translator/skin/icons.png");
}
/* default icons */
[iconsize="large"] #translator-toolbarbutton {
-moz-image-region: rect(0 40px 24px 16px);
}
[iconsize="small"] #translator-toolbarbutton {
-moz-image-region: rect(0 16px 16px 0);
}
/* large icons */
[iconsize="large"] #translator-toolbarbutton[state="enabled"] {
-moz-image-region: rect(0 40px 24px 16px);
}
[iconsize="large"] #translator-toolbarbutton[state="error"] {
-moz-image-region: rect(24px 40px 48px 16px);
}
[iconsize="large"] #translator-toolbarbutton[state="disabled"] {
-moz-image-region: rect(48px 40px 72px 16px);
}
/* small icons */
[iconsize="small"] #translator-toolbarbutton[state="enabled"] {
-moz-image-region: rect(0 16px 16px 0);
}
[iconsize="small"] #translator-toolbarbutton[state="error"] {
-moz-image-region: rect(16px 16px 32px 0);
}
[iconsize="small"] #translator-toolbarbutton[state="disabled"] {
-moz-image-region: rect(32px 16px 48px 0);
}
/**
* status bar
*************************************/
#translator-status-label {
cursor: pointer;
margin-left: 0;
padding-left: 3px;
}
#translator-status-icon {
-moz-image-region: rect(0 16px 16px 0);
cursor: pointer;
list-style-image: url("chrome://translator/skin/icons.png");
}
#translator-status-bar[state="enabled"] #translator-status-icon {
-moz-image-region: rect(0 16px 16px 0);
}
#translator-status-bar[state="error"] #translator-status-icon {
-moz-image-region: rect(16px 16px 32px 0);
}
#translator-status-bar[state="disabled"] #translator-status-icon {
-moz-image-region: rect(32px 16px 48px 0);
}
/**
* translation panels
*************************************/
.translator-popup {
opacity: 0.5;
}
/**
* preferences
*************************************/
#translator-preferences {
height: 260px;
padding: 0;
width: 410px;
}
#translator-preferences tab {
padding: 5px 10px;
}
#translator-preferences tabpanels {
margin: 0;
padding: 0;
}
#translator-preferences tabpanel {
}
#translator-preferences-content {
padding: 10px;
}
#translator-preferences-buttons {
padding: 0 10px 10px 10px;
}
#translator-preferences-hotkey {
width: 110px;
}
#translator-preferences-hotkey-note {
font-style: italic;
}
#translator-preferences-hotkey-warning {
padding-left: 20px;
}
#translator-preferences-floating-note {
padding-left: 20px;
}